package cn.kenny.resource.service;

import cn.kenny.resource.entity.PageResult;
import cn.kenny.resource.entity.QueryPageBean;
import cn.kenny.resource.pojo.*;

import java.util.List;

public interface UserService {
    public User findById(Integer id);
    public User login(User user);
    public void register(User user);
    public void addDoc(Doc doc);
    public Integer delDocById(Integer id);
    public Doc findDocById(Integer id);
    public PageResult findDocByUserId(Integer id);
    public PageResult findDocBySubjectId(Integer id);
    public List<Subject> findSubjectAll();
    public List<Word> getWord();
    public Question getQuestion();
}
